export interface Gun{
	type:string,
	autoFire:boolean
	delay:number
	damage:number
}

export const gunState:string[]=[]

export function GunState(name:string){
	console.log('gunState:name='+name);
	return function(target){
		gunState.push(name);
		console.log('gunState:target='+target);
	}
}